package routers

import (
	"github.com/gin-gonic/gin"
	"gorm.io/gorm"
)

// InitRouter 初始化路由
func InitRouter(c *gin.Engine, db *gorm.DB) {
	api := c.Group("/api")

	//订单路由
	initOrderRouter(api, db)
}
